import React from 'react';
import { List, Datagrid, TextField } from 'react-admin';

export const JobDetailList = (props) => (
    <List title="All users" {...props}  sort={{ field: 'executeTime', order: 'DESC' }}>
        <Datagrid>
            <TextField source="id" />
            <TextField source="crawlerType" />
            <TextField source="executeTime" />
        </Datagrid>
    </List>
);